import subprocess
import psutil
import sys

plist = [p for p in psutil.get_process_list() if p.name=='jcomm.exe'];
if len(plist) == 0:
	sys.exit(0)

jcomm = plist[0]

parent = psutil.Process(jcomm.ppid)
try:
	parent.kill()
except psutil.NoSuchProcess:
	None

try:
	jcomm.kill()
except psutil.NoSuchProcess:
	None

